﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.RF.PowerTest
{
    [Serializable]
    public class PowerTestInfo
    {
        private bool isAutoBuild = false;

        public int ID { get; set; }
        public string ProductSN { get; set; }
        public DateTime RecordTime { get; set; }
        public string ProductTypeID { get; set; }
        public string CouplerValue { get; set; }
        public string UserID { get; set; }
        public string TestStep { get; set; }
        public string PCIP { get; set; }
        public string SignalSource { get; set; }
        public bool IsPass { get; set; }
        public bool IsAutoBuild { get { return this.isAutoBuild; } set { this.isAutoBuild = value; } }

        public string Result { get { return IsPass ? "Pass" : "Fail"; } }
    }

    [Serializable]
    public class PowerTest_tempInfo : PowerTestInfo
    {
        public string TestBand { get; set; }
        public bool Flag { get; set; }
    }
}
